#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int compare_int(const void* a, const void* b)
{
	int num1 = *(int*)a;
	int num2 = *(int*)b;
	return num1 - num2;
}
int main()
{
	int arr[10] = {11,4,46,35,7,6,5,3,9,10};
	qsort(arr, 10, sizeof(int), compare_int);
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", arr[i]);
	}
	printf("\n");
	return 0;
}